package com.vehicle.biz;

import com.vehicle.domains.vo.BasePage;
import com.vehicle.domains.vo.req.sysPermission.AddPermissionReq;
import com.vehicle.domains.vo.req.sysPermission.ListPermissionReq;
import com.vehicle.domains.vo.req.sysPermission.UpdatePermissionReq;
import com.vehicle.domains.vo.res.sysPermission.SysPermissionRes;

public interface SysPermissionBiz {
    void addPermission(AddPermissionReq req);

    void updatePermission(UpdatePermissionReq req);

    void deletePermission(Long id);

    SysPermissionRes getPermissionById(Long id);

    BasePage<SysPermissionRes> selectPermissionList(ListPermissionReq req);
}
